home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2098 / 2098.xpi / chrome / updatenotifier.jar / content / overlay.xul < prev    next >
Extensible Markup Language  |  2009-07-05  |  3KB  |  110 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://updatenotifier/skin/overlay.css" type="text/css"?>
  4.  
  5. <!-- 
  6.   Update Notifier
  7.   By Todd Long <longfocus@gmail.com>
  8.   http://www.longfocus.com/firefox/updatenotifier/
  9.  -->
  10.  
  11. <!DOCTYPE overlay SYSTEM "chrome://updatenotifier/locale/updatenotifier.dtd">
  12.  
  13. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  14.         id="un-overlay">
  15.         
  16.     <script type="application/x-javascript" src="chrome://updatenotifier/content/overlay.js"/>
  17.     <script type="application/x-javascript" src="chrome://updatenotifier/content/utils.js"/>
  18.     <script type="application/x-javascript">
  19.       <![CDATA[
  20.         window.addEventListener("load", UN_onOverlayLoad, false);
  21.         window.addEventListener("unload", UN_onOverlayUnload, false);
  22.       ]]>
  23.     </script>
  24.     
  25.     <!-- Firefox|Flock|SeaMonkey|Songbird Customize Toolbar -->
  26.     <toolbarpalette id="BrowserToolbarPalette">
  27.         <toolbarbutton id="un-toolbarbutton"/>
  28.     </toolbarpalette>
  29.     
  30.     <!-- Sunbird Customize Toolbar -->
  31.     <toolbarpalette id="calendarToolbarPalette">
  32.         <toolbarbutton id="un-toolbarbutton"/>
  33.     </toolbarpalette>
  34.     
  35.     <!-- Thunderbird Customize Toolbar -->
  36.     <toolbarpalette id="MailToolbarPalette">
  37.         <toolbarbutton id="un-toolbarbutton"/>
  38.     </toolbarpalette>
  39.     
  40.     <!-- Toolbarbutton -->
  41.     <toolbarbutton id="un-toolbarbutton"
  42.                 type="menu"
  43.                 icon="none"
  44.                 title="Update Notifier"
  45.                 tooltip="un-toolbar-tooltip"
  46.                 onmouseover="UN_gOverlay.populateTooltip();"
  47.                 onclick="UN_gOverlay.toolbarClick(event);">
  48.                 
  49.         <menupopup id="un-toolbar-popup"
  50.                 position="after_start"
  51.                 onpopupshowing="UN_gOverlay.populatePopup(this.id);"/>
  52.     </toolbarbutton>
  53.     
  54.     <!-- Firefox|Flock|SeaMonkey|Songbird|Sunbird|Thunderbird Statusbar -->
  55.     <statusbar id="status-bar">
  56.         <statusbarpanel id="un-statusbar-panel"
  57.                         icon="none"
  58.                         context="un-statusbar-popup"
  59.                         tooltip="un-toolbar-tooltip"
  60.                         onmouseover="UN_gOverlay.populateTooltip();"/>
  61.     </statusbar>
  62.     
  63.     <!-- Firefox|Flock|SeaMonkey window -->
  64.     <window id="main-window">
  65.         <menupopup id="un-statusbar-popup"/>
  66.         <tooltip id="un-toolbar-tooltip"/>
  67.     </window>
  68.     
  69.     <!-- Songbird window -->
  70.     <window id="mainplayer">
  71.         <menupopup id="un-statusbar-popup"/>
  72.         <tooltip id="un-toolbar-tooltip"/>
  73.     </window>
  74.     
  75.     <!-- Sunbird window -->
  76.     <window id="calendar-window">
  77.         <menupopup id="un-statusbar-popup"/>
  78.         <tooltip id="un-toolbar-tooltip"/>
  79.     </window>
  80.     
  81.     <!-- Tunderbird window -->
  82.     <window id="messengerWindow">
  83.         <menupopup id="un-statusbar-popup"/>
  84.         <tooltip id="un-toolbar-tooltip"/>
  85.     </window>
  86.     
  87.     <menupopup id="un-statusbar-popup"
  88.             position="after_start"
  89.             onpopupshowing="UN_gOverlay.populatePopup(this.id);"/>
  90.             
  91.     <tooltip id="un-toolbar-tooltip"
  92.             noautohide="true"
  93.             orient="vertical"
  94.             position="before_start">
  95.             
  96.         <label id="un-toolbar-tooltip-header-label"/>
  97.         
  98.         <vbox id="un-toolbar-tooltip-updates">
  99.             <separator class="groove"/>
  100.             
  101.             <grid flex="1">
  102.                 <rows id="un-toolbar-tooltip-updates-extensions"/>
  103.             </grid>
  104.             
  105.             <grid flex="1">
  106.                 <rows id="un-toolbar-tooltip-updates-themes"/>
  107.             </grid>
  108.         </vbox>
  109.     </tooltip>
  110. </overlay>